﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCH.DAO;

public partial class index : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            int sfu_no = new sysfunctionDAO().Get_pathNO(2001, "2001");
            this.ObjectDataSource1.SelectParameters["sfu_no"].DefaultValue = sfu_no.ToString();
            this.GridView1.DataBind();
        }    
    }
    protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        Response.Redirect("1003-1.aspx?mes_no=" + e.CommandName);
    }
}